package cn.itcast.consumption.feignclient;

import cn.itcast.consumption.pojo.User;
import org.springframework.stereotype.Component;

@Component
public class UserFeignClient implements FeignClient {
    @Override
    public User findUser(Long id) {
        User user = new User();
        user.setUserName("查询错误");
        return user;
    }
}
